rm update
[EroBeats.git] / Djinn and Tonic - Erobeats / Animation.h
blob49a13577fc3ab0f6ced6158f1bac6c2bcb46d00c
1 #pragma once
2 #include <vector>
3 #include <SDL/SDL.h>
5 class Animation
7 public:
8 Animation();
9 Animation(std::vector<SDL_Texture*> set);
10 ~Animation();
12 SDL_Texture* itterateAnimation(int framerate);
13 void destroyAnimation();
14 void resetAnimation();
15 bool checkDone();
17 int counter;
18 int gameFPS;
20 bool done;
22 int currentPosition;
23 int previousPosition;
24 int animationSize;
25 std::vector<SDL_Texture*> frames;